[XEN] Get rid of gva_to_gpa translation
authorTim Deegan <Tim.Deegan@xensource.com>
Tue, 20 Feb 2007 15:37:03 +0000 (15:37 +0000)
committerTim Deegan <Tim.Deegan@xensource.com>
Tue, 20 Feb 2007 15:37:03 +0000 (15:37 +0000)
commit621bd0c079569d4b1f2046a46386836888ae4e4f
treef1f43a1700261c835620890d6c054dbb5923bc34
parent25fc3fb4645e8d079f8e3648ec40fa08088b30fd
[XEN] Get rid of gva_to_gpa translation
It didn't have any sensible error checking.  Make all callers
use gva_to_gfn translation and check the result.  MMIO and PIO
callers inject pagefaults to the guest iof the non-IO address is
not mapped.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
xen/arch/x86/hvm/io.c
xen/arch/x86/hvm/platform.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm/shadow/multi.c
xen/arch/x86/mm/shadow/types.h
xen/include/asm-x86/hvm/io.h
xen/include/asm-x86/p2m.h
xen/include/asm-x86/paging.h